package com.husky.easyexcle.entity;


import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;

@ColumnWidth(25)
@HeadRowHeight(-1) //标题行高
@HeadFontStyle(fontHeightInPoints = 12, color = 9) //
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND,fillForegroundColor = 62)
@Data // lombok注解
@Slf4j
public class VatInvoiceDTO {


    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -3163681124084910839L;
    /**
     * 发票代码
     */
    private String invoiceCode;
    /**
     * 发票号码(8位)
     */
    private String invoiceNo;
    /**
     * 开票日期（不支持当天发票查询，只支持一年以内），如：2019-12-20
     */
    private String invoiceDate;
    /**
     * 价税合计
     */
    private BigDecimal totalAmount;
    /**
     * 不含税金额
     */
    private BigDecimal totalNoTaxAmount;
    /**
     * 发票主键id
     */
    private Long id;
    /** 发票校验码后 6 位 */
    private String checkCode;
    /**
     * 合计税额
     */
    private BigDecimal totalTax;


    private String resultDto;




}
